"""
@author: jpj
@email: pj.jiang@hzgosun.com
@file: researchConfigPage.py
@time: 2019/7/25 17:35

"""
from poium import PageElement, PageElements

from common.poium import Page


class ResearchConfig(Page):
    start_Time = PageElement(
        xpath='//*[@id="app"]/div/div[2]/div[2]/div/section/div[2]/form/div[1]/div[2]/div/div/input',
        describe="系统优化警情开始时间")
    end_time = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/section/div[2]/form/div[1]/div[3]/div/div/input',
                           describe="系统优化警情结束时间")
    alarm_interval = PageElement(
        xpath='//*[@id="app"]/div/div[2]/div[2]/div/section/div[2]/form/div[2]/div[2]/div/div/input',
        describe="人工筛选警情-配置")
    overtime = PageElement(xpath='//*[@id="app"]/div/div[2]/div[2]/div/section/div[2]/form/div[3]/div[2]/div/div/input',
                           describe="警情处理超时-配置")
    button = PageElements(tag='button', describe="应用按钮")
    success = PageElement(class_name='ivu-message-success', describe="应用成功提示")
    error = PageElement(class_name='ivu-message-error', describe="错误提示")
